package com.granada.behaviour.interfaces;


import com.granada.entity.SysPermission;
import com.granada.vo.resp.PermissionRespNode;

import java.util.List;
import java.util.Set;

public interface PermissionBehavior {
    public abstract List<PermissionRespNode> permissionTreeList(Long userId) throws Exception;
    public abstract List<SysPermission> selectAllPlatform(Long userId) throws Exception;

    public abstract List<PermissionRespNode> selectBig() throws Exception;

    public abstract List<PermissionRespNode> selectAllMenuByTree(Long permissionId) throws Exception;

    public abstract List<PermissionRespNode> platformSelectAllByTree(Long userId) throws Exception;

    public abstract List<PermissionRespNode> selectAllByTree() throws Exception;

    public abstract List<SysPermission> selectAllping() throws Exception;

    public abstract Set<String> getPermissionsByUserId(Long userId)  throws Exception;

}
